#!/bin/sh
#
# Perform necessary metasploit setup steps
# prior to installing package.
#

BINS="msfbinscan msfconsole msfd msfdb msfelfscan msfmachscan msfpescan msfrop msfrpc msfrpcd msfupdate msfvenom"

if [ -x /usr/sbin/update-alternatives ] ; then
	for BIN in $BINS; do
		update-alternatives --remove $BIN /opt/metasploit-framework/bin/$BIN
	done
fi

exit 0
